package com.hpf.lease.web.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hpf.lease.model.bean.LeaseAgreement;
import com.hpf.lease.web.admin.dto.AgreementSearchSubmitDto;
import com.hpf.lease.web.admin.vo.LeaseAgreementInfoVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author GOD
* @description 针对表【lease_agreement(租约信息表)】的数据库操作Mapper
* @createDate 2024-08-29 15:00:50
* @Entity com.hpf.lease.model.bean.LeaseAgreement
*/
public interface LeaseAgreementMapper extends BaseMapper<LeaseAgreement> {

    LeaseAgreementInfoVo getDetailById(long id);

    List<LeaseAgreementInfoVo> getPageItem(Page<LeaseAgreementInfoVo> page, @Param("submit") AgreementSearchSubmitDto submitDto);
}




